#pragma once
#include "basewindow.h"
#include "note.h"

class CDataList :
	public CBaseWindow
{
public:
	CDataList(void);
	~CDataList(void);
	BOOL CreateEx(
			int nX, int nY, int cx, int cy,
			HWND hParent,
			HINSTANCE hInst
		);

	vector<CNote*>* m_notesData;

	LRESULT WndProcExt(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
	void OnDrawItem(LPDRAWITEMSTRUCT lpdis);
	void OnMeasureItem(LPMEASUREITEMSTRUCT lpmis);
};
